﻿namespace LiteBlog.Repositories.Contracts
{
    using LiteBlog.Common.Entities;
    using System;
    using System.Collections.Generic;

    public interface IBlogRepository
    {
        void ChangeAuthor(string oldAuthor, string newAuthor);
        void ChangeCategory(string oldCategory, string newCategory);
        void ChangeTag(string oldTag, string newTag);
        List<PostInfo> GetPublished();
        List<PostInfo> GetScheduled();
        List<PostInfo> Get();
        void Schedule(string fileId, DateTime publishDate);
    }
}